﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;
using System.ComponentModel;
namespace Models
{
    /// <summary>
    /// 消毒信息表
    /// </summary>
    [Table("Disinfect")]
    public class DisinfectModel
    {
        /// <summary>
        /// 主键
        /// </summary>
        [Column("Id")]
        [Description("主键")]
        public Guid Id { get; set; }

        /// <summary>
        /// 部门Id
        /// </summary>
        [Column("DeptId")]
        [Description("部门Id")]
        public string DeptId { get; set; }

        /// <summary>
        /// 部门名称
        /// </summary>
        [Column("DeptName")]
        [Description("部门名称")]
        public string DeptName { get; set; }

        /// <summary>
        /// 消毒人员Id
        /// </summary>
        [Column("DisinfectUserId")]
        [Description("消毒人员Id")]
        public string DisinfectUserId { get; set; }

        /// <summary>
        /// 消毒人员名称
        /// </summary>
        [Column("DisinfectUserName")]
        [Description("消毒人员名称")]
        public string DisinfectUserName { get; set; }

        /// <summary>
        /// 区域Id
        /// </summary>
        [Column("AreaId")]
        [Description("区域Id")]
        public string AreaId { get; set; }

        /// <summary>
        /// 区域名称
        /// </summary>
        [Column("AreaName")]
        [Description("区域名称")]
        public string AreaName { get; set; }

        /// <summary>
        /// 记录人员Id
        /// </summary>
        [Column("CreateUserId")]
        [Description("记录人员Id")]
        public string CreateUserId { get; set; }

        /// <summary>
        /// 记录人员名称
        /// </summary>
        [Column("CreateUserName")]
        [Description("记录人员名称")]
        public string CreateUserName { get; set; }

        /// <summary>
        /// 消毒时间
        /// </summary>
        [Column("DisinfectTime")]
        [Description("消毒时间")]
        public DateTime DisinfectTime { get; set; }

        /// <summary>
        /// 备注
        /// </summary>
        [Column("Remark")]
        [Description("备注")]
        public string Remark { get; set; }

        /// <summary>
        /// 创建时间
        /// </summary>
        [Column("CreateTime")]
        [Description("创建时间")]
        public DateTime CreateTime { get; set; }

        /// <summary>
        /// 文件信息
        /// </summary>
        [NotMapped]
        public List<FileModel> Files { get; set; }
    }
}
